.class public Lde/dealdoktor/app/dialog/KontaktDialog;
.super Landroid/app/Dialog;
.source "KontaktDialog.java"


# instance fields
.field context:Landroid/app/Activity;


# direct methods
.method public constructor <init>(Landroid/app/Activity;)V
    .locals 0
    .parameter "context"

    .prologue
    .line 17
    invoke-direct {p0, p1}, Landroid/app/Dialog;-><init>(Landroid/content/Context;)V

    .line 18
    iput-object p1, p0, Lde/dealdoktor/app/dialog/KontaktDialog;->context:Landroid/app/Activity;

    .line 19
    return-void
.end method


# virtual methods
.method public onCreate(Landroid/os/Bundle;)V
    .locals 3
    .parameter "savedInstanceState"

    .prologue
    .line 23
    invoke-super {p0, p1}, Landroid/app/Dialog;->onCreate(Landroid/os/Bundle;)V

    .line 24
    const v2, 0x7f03000d

    invoke-virtual {p0, v2}, Lde/dealdoktor/app/dialog/KontaktDialog;->setContentView(I)V

    .line 27
    invoke-virtual {p0}, Lde/dealdoktor/app/dialog/KontaktDialog;->getWindow()Landroid/view/Window;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/Window;->getAttributes()Landroid/view/WindowManager$LayoutParams;

    move-result-object v1

    .line 29
    .local v1, params:Landroid/view/WindowManager$LayoutParams;
    const/4 v2, -0x1

    iput v2, v1, Landroid/view/WindowManager$LayoutParams;->width:I

    .line 30
    invoke-virtual {p0}, Lde/dealdoktor/app/dialog/KontaktDialog;->getWindow()Landroid/view/Window;

    move-result-object v2

    invoke-virtual {v2, v1}, Landroid/view/Window;->setAttributes(Landroid/view/WindowManager$LayoutParams;)V

    .line 33
    const v2, 0x7f0b0019

    invoke-virtual {p0, v2}, Lde/dealdoktor/app/dialog/KontaktDialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    .line 34
    .local v0, b:Landroid/widget/Button;
    new-instance v2, Lde/dealdoktor/app/dialog/KontaktDialog$1;

    invoke-direct {v2, p0}, Lde/dealdoktor/app/dialog/KontaktDialog$1;-><init>(Lde/dealdoktor/app/dialog/KontaktDialog;)V

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 45
    return-void
.end method
